curl -X POST -H 'Content-Type:application/json' -d '{"name":"5日单均线买入","orient":1,"indicator_abbr":"SMA","params":"{\"period\":5}","condition":"minimum-L0"}' http://localhost:8000/strategy
curl -X POST -H 'Content-Type:application/json' -d '{"name":"5日单均线卖出","orient":-1,"indicator_abbr":"SMA","params":"{\"period\":5}","condition":"maximum-L0"}' http://localhost:8000/strategy
curl -X POST -H 'Content-Type:application/json' -d '{"name":"5日10日双均线金叉买入","orient":1,"indicator_abbr":"DMA","params":"{\"period1\":5,\"period2\":10}","condition":"up_cross-L0-L1"}' http://localhost:8000/strategy
curl -X POST -H 'Content-Type:application/json' -d '{"name":"5日10日双均线死叉卖出","orient":-1,"indicator_abbr":"DMA","params":"{\"period1\":5,\"period2\":10}","condition":"down_cross-L0-L1"}' http://localhost:8000/strategy
curl -X POST -H 'Content-Type:application/json' -d '{"name":"KDJ小于0最小J值","orient":1,"indicator_abbr":"KDJ","params":"{}","condition":"lt-L2-0,minimum-L2"}' http://localhost:8000/strategy
curl -X POST -H 'Content-Type:application/json' -d '{"name":"KDJ大于100最大J值","orient":-1,"indicator_abbr":"KDJ","params":"{}","condition":"gt-L2-100,maximum-L2"}' http://localhost:8000/strategy

curl -X POST -H 'Content-Type:application/json' -d '{"name":"KDJ小于0","orient":1,"indicator_abbr":"KDJ","params":"{}","condition":"lt-L2-0"}' http://localhost:8000/strategy


curl -X POST -H 'Content-Type:application/json' -d '{"name":"KDJ小于0最小J值","orient":1,"condition":"[{\"abbr\":\"KDJ\",\"params\":{},\"rules\":\"lt-L2-0,minimum-L2\"},{\"abbr\":\"SMA\",\"params\":{\"period\":10},\"rules\":\"lt-L0-15,gt-L0-1\"}]"}' http://localhost:8000/strategy
curl -X POST -H 'Content-Type:application/json' -d '{"name":"KDJ大于100最大J值","orient":-1,"condition":"[{\"abbr\":\"KDJ\",\"params\":{},\"rules\":\"gt-L2-100,maximum-L2\"},{\"abbr\":\"SMA\",\"params\":{\"period\":10},\"rules\":\"lt-L0-15,gt-L0-1\"}]"}' http://localhost:8000/strategy
